﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Models.Bases
{
    /// <summary>
    /// 自增长，long型主键
    /// </summary>
    public class BaseLongEntity : BaseEntity<long>
    {
        /// <summary>
        /// 编号
        /// 主键 必填 自增长
        /// 默认值 0
        /// </summary>     
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
        public long Id { get; set; }
    }
}
